selectLine

Returns a command that allows selecting a line at the caret position in a text area or a WYSIWYG editor.